/**
 * Filename: YNBanner.java
 * @author  Firefly
 * @contact postfirefly@163.com
 * @time    2016/3/4 0:36
 */
package com.github.postsanf.yinian.bean;
/**
 * 主页广告实体
 */
public class YNBanner extends BaseBean
{
    private int    bid;									         // Banner ID
    private int    btype;                                        // Banner类型
    private String btitle;										 // Banner标题
    private String bpic;									     // Banner图片地址
    private String bdata;                                        // Banner数据

    public int getBid() {
        return bid;
    }

    public void setBid(int bid) {
        this.bid = bid;
    }

    public int getBtype() {
        return btype;
    }

    public void setBtype(int btype) {
        this.btype = btype;
    }

    public String getBtitle() {
        return btitle;
    }

    public void setBtitle(String btitle) {
        this.btitle = btitle;
    }

    public String getBpic() {
        return bpic;
    }

    public void setBpic(String bpic) {
        this.bpic = bpic;
    }

    public String getBdata() {
        return bdata;
    }

    public void setBdata(String bdata) {
        this.bdata = bdata;
    }

    @Override
    public boolean equals(Object o) {
        if (o instanceof YNBanner) {
            return this.bid == ((YNBanner) o).bid;
        }
        return super.equals(o);
    }
}
